package net.eicp.nada;

public class Ten {
	public static void main(String[] args) {
		int a;
		int b;
		a = 0xaaaaaaaa;
		b = 0x55555555;
		System.out.println(Integer.toBinaryString(a));
		System.out.println(Integer.toBinaryString(b));
		System.out.println(Integer.toBinaryString(a&b));
		System.out.println(Integer.toBinaryString(a|b));
		System.out.println(Integer.toBinaryString(a^b));
		System.out.println(Integer.toBinaryString(~a));
		System.out.println(Integer.toBinaryString(b));
	}
}
